package day20170413;

import org.junit.Test;

public class ChilEntityTest {
	@Test
	public void playPhoneTest() throws Exception {
		ChilEntity chil = new ChilEntity();
		//重写父类玩手机方法
		chil.playPhone();
		//调用父类的变长参数
		int sum = chil.add(10,20,30);
		//测试受保护的方法
		chil.testA();
		System.out.println(sum);
	}
}
